package com.yswy.backstage.dto.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 路由显示信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuTreeMetaResVo {
    @ApiModelProperty("设置该路由在侧边栏和面包屑中展示的名字")
    private String title;
    @ApiModelProperty("设置该路由的图标，对应路径src/assets/icons/svg")
    private String icon;
    @ApiModelProperty("设置为true，则不会被 <keep-alive>缓存")
    private boolean noCache;
    @ApiModelProperty("内链地址（http(s)://开头）")
    private String link;
}
